package com.ficus.road.maintain.core.model.xlj;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 下立交最新水位信息
 *
 * @Author hao.zhou1
 * @Since 2021/8/11 下午6:49
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class XljWaterLevel implements Serializable {

    /**
     * id
     */
    @JsonProperty("id")
    private String id;

    /**
     * 下立交唯一编码
     */
    private String uniIdHuwan;

    /**
     * 当前水位
     */
    private Integer waterLevel;

    /**
     * 是否封交
     */
    private Integer isClosed;

    /**
     * 是否排水
     */
    private Integer isPumping;

    /**
     * 积水检测设备状态
     */
    private String state;

    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastModificationTime;
}
